package com.suzj.extraenchantments.potion;



import com.suzj.extraenchantments.ExtraEnchantments;
import net.minecraft.world.effect.MobEffect;
import net.minecraft.world.effect.MobEffectCategory;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;

public class ModEffects {
    public static final DeferredRegister<MobEffect> EFFECTS = DeferredRegister.create(ForgeRegistries.MOB_EFFECTS, ExtraEnchantments.MODID);
    public static RegistryObject<MobEffect> METAPHOR = EFFECTS.register("metaphor", () -> {
        return new MagicChargeEffect(MobEffectCategory.HARMFUL, 6684723, false);
    });
    public static RegistryObject<MobEffect> ICE = EFFECTS.register("freeze", () -> {
        return new MagicChargeEffect(MobEffectCategory.HARMFUL, 6684723, false);
    });
}